{template "header.html"}


{php $i=0;}
{category module=store pid=0}
<section class="tab-carousel-product" style="margin-top: 30px">
    <div class="container">
        <div class="row">
            <div class="tab-product-area">
                <div class="bestseller-sec-heading section-heading">
                    <h2><span>{$i+1}F</span> <a href="{$t.url}">{$t.name}</a></h2>

                </div>
                <!-- tab content start -->
                <div class="tab-content">
                    <!-- tabs one start -->
                    <div role="tabpanel" class="tab-pane  active">
                        <div class="tab-content-area ">
                                {module module=store catid=$t.id num=5 return=r}

                            <div class="col-md-3 ">
                                    <div class="single-product-item ">
                                        <div class="product-image">

                                            <a href="{$r.url}" target="_blank"><img src="{dr_thumb($r[thumb][0][file], 200, 160)}" alt="{$r.title}" /></a>
                                            <div class="single-product-overlay">
                                                <div class="rating-box">
                                                    {dr_store_star_level($r.comments)}
                                                </div>
                                                <div class="product-quick-view">
                                                    <ul>
                                                        <li><a href="javascript:dr_module_favorite('store', '{$r.id}');"><i class="fa fa-heart-o"></i></a></li>
                                                        <li><a href="{$r.url}"><i class="fa fa-eye"></i></a></li>
                                                    </ul>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="single-product-text">
                                            <h2><a class="product-title" href="{$r.url}" target="_blank">{dr_strcut($r.title, 22)}</a></h2>
                                            <div class="product-price">
                                                <span class="regular-price">￥{number_format($r.price, 2)}</span>
                                            </div>
                                            <div class="pro-add-to-cart">
                                                <p><a href="javascript:dr_select_cart('store', 'price', '{$r.id}');" title="添加购物车">添加购物车</a></p>
                                            </div>
                                        </div>
                                    </div>
                            </div>
                                {/module}
                        </div>
                    </div>
                    <!-- tabs one end -->

                </div>
                <!-- tab content end -->
            </div>
        </div>
    </div>
</section>
{php $i++;}
{/category}



{template "footer.html"}